<!--# layout("/common/layout.html",{"jsBase":"/js/cms/preparatoryTalent/"}){ -->

<form class="layui-form " id="addForm">
    <!--# include("/cms/common/basic.html",{"basic":essentialInformation}){} -->
    <fieldset class="layui-elem-field">
        <legend>产业预备人才入库信息</legend>
        <div class="layui-row">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">今年在申报企业计税薪金纳税月数<span style="color: red">*</span></label>
                    <div class="layui-input-inline">
                        <!--<input type="text" id="salariesMonth" name="salariesMonth"   class="layui-input"  lay-verify="required|number">-->
                        <select name="salariesMonth" id="salariesMonth" lay-verify="required|number" >
                            <option value="">请选择月数</option>
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            <option value="10">10</option>
                            <option value="11">11</option>
                            <option value="12">12</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">今年在申报企业计税薪金合计(元)<span style="color: red">*</span></label>
                    <div class="layui-input-inline">
                        <input type="text" id="salary" name="salary"  class="layui-input"  lay-verify="required|number">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">与申报企业劳动合同签订开始时间<span style="color: red">*</span></label>
                    <div class="layui-input-inline">
                        <input type="text" id="startDate" name="startDate"    class="layui-input input-date" lay-verify="required">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">与申报企业劳动合同签订结束时间<span style="color: red">*</span></label>
                    <div class="layui-input-inline">
                        <input type="text" id="endDate" name="endDate"   class="layui-input input-date" lay-verify="required">
                    </div>
                    <div class="layui-input-inline">
                        <input type="button" id="endDate1" value="无固定期限">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">特殊情况说明(最多100汉字)</label>
                    <div class="layui-input-inline">
                        <textarea id="specialInstructions" name="specialInstructions"   class="layui-textarea" style="width: 740px" maxlength="200"></textarea>
                    </div>
                </div>
            </div>
        </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>材料信息</legend>
        <span style="color: red;margin-left: 30px;font-size: 18px">支持文件格式为：pdf,jpg,png,gif，单个文件大小不超过20M。带*号标识的对应资料必须上传，其它资料不作要求。上传文件内容请确保真实清晰、有效，不能有旋转。上传后请查看预览，正确无误后再申报提交。</span>
            <div class="layui-row">
                    <label class="layui-form-label file-upload">身份证件<span style="color: red">*</span></label>
                        <layui:attachment name="Idfile" batchFileUUID="${uuid()}" isNew="true" lay-verify="required" bizType="User"/>
            </div>
            <div class="layui-row">
                    <label class="layui-form-label file-upload">缴纳清单<span style="color: red">*</span></label>
                        <layui:attachment name="payList" batchFileUUID="${uuid()}" isNew="true" lay-verify="required" bizType="User"/>
            </div>
            <div class="layui-row">
                    <label class="layui-form-label file-upload">完税证明<span style="color: red">*</span></label>
                        <layui:attachment name="taxProof" batchFileUUID="${uuid()}" isNew="true" lay-verify="required" bizType="User"/>
            </div>
            <div class="layui-row">
                    <label class="layui-form-label file-upload">劳动合同书或劳动合同协议</label>
                        <layui:attachment name="laborContract" batchFileUUID="${uuid()}" isNew="true" lay-verify="required" bizType="User"/>
            </div>
    </fieldset>
    <layui:personnelsubmitButtons id="addButton" />
</form>
<!--#} -->
<script>
    $(document).on('click','#endDate1',function() {
        $("#endDate").val("2099-12-31")
    });
layui.use(['add'], function(){
    var preparatoryTalentAdd = layui.add
    preparatoryTalentAdd.init();
});
</script>
